////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CATALOG_SECURITY
// AUTHOR           :   Saint Peng
// DATE CREATE      :   2007/03/29
// DESCRIPTION      :   a SCHEMA file for the function, CATALOG_SECURITY
//                  :
//                  :
//                  :
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/03/29   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalog.catalogSecurity.schema;

import com.erp.framework.model.schema.MetaData;
import com.erp.framework.model.schema.TableSchema;

/**
* <p>A <strong>Schema</strong> stores the table meta information.
* The main purpose for this class is to validate the lengths of UniCode Characters,
* and notify the database to store UniCode characters from web browsers.
*
* @author          Saint Peng
* @version 1.0     2007/03/29
* @since           FrameWork 1.0
*
*/
public class CatalogSecurityDtlSchema extends TableSchema {

	public static final String TABLE_NAME = "T_CATALOG_SECURITY_DTL";

	public CatalogSecurityDtlSchema(){

		MetaData md = null;

		md = new MetaData();
		md.setColumnName("USER_CODE");
		md.setVoPropertyName("userCode");
		md.setColumnTitle("USER_CODE");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(30);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(30);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(0);
		md.setWebObjectId("LBL_USER_USER_CODE");
		md.setWebLabelName("DEF USER USER CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("COMPANY_CODE");
		md.setVoPropertyName("companyCode");
		md.setColumnTitle("COMPANY_CODE");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(30);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(30);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(0);
		md.setWebObjectId("LBL_USER_COMPANY_CODE");
		md.setWebLabelName("DEF USER COMPANY CODE");
		ts.add(md);



		md = new MetaData();
		md.setColumnName("LBL_SRCH_USER_ID");
		md.setVoPropertyName("lblSrchUserId");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_USER_ID");
		md.setWebLabelName("DEF SRCH USER ID");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_USER_ID");
		md.setVoPropertyName("lblGridUserId");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_USER_ID");
		md.setWebLabelName("DEF GRID USER ID");
		ts.add(md);


		md = new MetaData();
		md.setColumnName("LBL_CATALOG_ID");
		md.setVoPropertyName("lblCatalogId");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_ID");
		md.setWebLabelName("DEF CATALOG ID");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_CATALOG_STATUS");
		md.setVoPropertyName("lblCatalogStatus");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_STATUS");
		md.setWebLabelName("DEF CATALOG STATUS");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_CATALOG_TREE");
		md.setVoPropertyName("lblCatalogTree");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_TREE");
		md.setWebLabelName("DEF CATALOG TREE");
		ts.add(md);


		md = new MetaData();
		md.setColumnName("LBL_CATALOG_LEVEL");
		md.setVoPropertyName("lblCatalogLevel");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_LEVEL");
		md.setWebLabelName("DEF CATALOG LEVEL");
		ts.add(md);



		md = new MetaData();
		md.setColumnName("LBL_CATALOG_DESC");
		md.setVoPropertyName("lblCatalogDesc");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_DESC");
		md.setWebLabelName("DEF CATALOG DESC");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("NODE_ID");
		md.setVoPropertyName("dtlNodeId");
		md.setColumnTitle("NODE_ID");
		md.setColumnTypeName("NUMBER");
		md.setColumnType(2);
		md.setColumnSize(22);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(8);
		md.setColumnScale(0);
		md.setDisplaySize(22);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(0);
		md.setWebObjectId("LBL_DTL_NODE_ID");
		md.setWebLabelName("DEF DTL NODE ID");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_NODE_ID");
		md.setVoPropertyName("lblSrchNodeId");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_NODE_ID");
		md.setWebLabelName("DEF SRCH NODE ID");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_NODE_ID");
		md.setVoPropertyName("lblGridNodeId");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_NODE_ID");
		md.setWebLabelName("DEF GRID NODE ID");
		ts.add(md);



		md = new MetaData();
		md.setColumnName("LBL_SRCH_CREATE_BY");
		md.setVoPropertyName("lblSrchDtlCreateBy");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_CREATE_BY");
		md.setWebLabelName("DEF SRCH CREATE BY");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_CREATE_BY");
		md.setVoPropertyName("lblGridDtlCreateBy");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_CREATE_BY");
		md.setWebLabelName("DEF GRID CREATE BY");
		ts.add(md);






		md = new MetaData();
		md.setWebObjectId("LBL_DTL_SELECT");
		md.setWebLabelName("DEF DTL SELECT");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_DTL_DELETE");
		md.setWebLabelName("DEF DTL DELETE");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setColumnName("CREATE_USER");
		md.setVoPropertyName("createUser");
		md.setColumnTitle("CREATE_USER");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_DTL_CREATE_USER");
		md.setWebLabelName("DEF DTL CREATE USER");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("CREATE_DATE");
		md.setVoPropertyName("createDate");
		md.setColumnTitle("CREATE_DATE");
		md.setColumnTypeName("DATE");
		md.setColumnType(91);
		md.setColumnSize(15);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.sql.Timestamp");
		md.setColumnPrecision(0);
		md.setColumnScale(0);
		md.setDisplaySize(15);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_DTL_CREATE_DATE");
		md.setWebLabelName("DEF DTL CREATE DATE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("UPDATE_USER");
		md.setVoPropertyName("updateUser");
		md.setColumnTitle("UPDATE_USER");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_DTL_UPDATE_USER");
		md.setWebLabelName("DEF DTL UPDATE USER");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("UPDATE_DATE");
		md.setVoPropertyName("updateDate");
		md.setColumnTitle("UPDATE_DATE");
		md.setColumnTypeName("DATE");
		md.setColumnType(91);
		md.setColumnSize(15);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.sql.Timestamp");
		md.setColumnPrecision(0);
		md.setColumnScale(0);
		md.setDisplaySize(15);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_DTL_UPDATE_DATE");
		md.setWebLabelName("DEF DTL UPDATE DATE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_CATALOG_DESC");
		md.setVoPropertyName("dtlCatalogName");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setWebObjectId("LBL_CATALOG_DESC");
		md.setWebLabelName("DEF CATALOG DESC");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_CATALOG_LEVEL");
		md.setVoPropertyName("dtlCatalogLevel");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setIsNullable(1);
		md.setWebObjectId("LBL_CATALOG_LEVEL");
		md.setWebLabelName("DEF CATALOG LEVEL");
		ts.add(md);

	}

}